/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.meter.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.tenant.mp.TenantEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 客户表实体类
 *
 * @author John
 * @since 2020-08-15
 */
@Data
@TableName("t_customer")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Customer对象", description = "客户表")
public class Customer extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 父级编号
	*/
		@ApiModelProperty(value = "父级编号")
		private Long parentId;
	/**
	* 客户编号
	*/
		@ApiModelProperty(value = "客户编号")
		private String customerNo;
	/**
	* 客户名称
	*/
		@ApiModelProperty(value = "客户名称")
		private String customerName;
	/**
	* 客户类型
	*/
		@ApiModelProperty(value = "客户类型")
		private Integer customerType;
	/**
	* 客户类别
	*/
		@ApiModelProperty(value = "客户类别")
		private Integer customerClass;
	/**
	* 注册资金
	*/
		@ApiModelProperty(value = "注册资金")
		private BigDecimal registeredCapital;
	/**
	* 经营范围
	*/
		@ApiModelProperty(value = "经营范围")
		private String businessScope;
	/**
	* 主要产品
	*/
		@ApiModelProperty(value = "主要产品")
		private String products;
	/**
	* 企业简介
	*/
		@ApiModelProperty(value = "企业简介")
		private String companyInfo;
	/**
	* 销售额
	*/
		@ApiModelProperty(value = "销售额")
		private BigDecimal sales;
	/**
	* 运行容量
	*/
		@ApiModelProperty(value = "运行容量")
		private BigDecimal runCapacity;
	/**
	* 风险等级
	*/
		@ApiModelProperty(value = "风险等级")
		private Integer dangerLevel;
	/**
	* 行业分类
	*/
		@ApiModelProperty(value = "行业分类")
		@TableField("Industry_class")
	private Integer industryClass;
	/**
	* 高可靠性标志
	*/
		@ApiModelProperty(value = "高可靠性标志")
		private String reliabilityFlag;
	/**
	* 负荷性质
	*/
		@ApiModelProperty(value = "负荷性质")
		private String loadNature;
	/**
	* 信用分值
	*/
		@ApiModelProperty(value = "信用分值")
		private BigDecimal credit;
	/**
	* 信用等级
	*/
		@ApiModelProperty(value = "信用等级")
		private Integer creditLevel;
	/**
	* 用电类型
	*/
		@ApiModelProperty(value = "用电类型")
		private Integer powerType;
	/**
	* 供电单位
	*/
		@ApiModelProperty(value = "供电单位")
		private String supplyCompany;
	/**
	* 转供电类型
	*/
		@ApiModelProperty(value = "转供电类型")
		private Integer transferSupplyType;
	/**
	* 所属区域
	*/
		@ApiModelProperty(value = "所属区域")
		private Long regionId;
	/**
	* 客户经理
	*/
		@ApiModelProperty(value = "客户经理")
		private Long managerId;
	/**
	* 联系人姓名
	*/
		@ApiModelProperty(value = "联系人姓名")
		private String contactName;
	/**
	* 联系人分类
	*/
		@ApiModelProperty(value = "联系人分类")
		private Integer contactClass;
	/**
	* 性别
	*/
		@ApiModelProperty(value = "性别")
		private Integer gender;
	/**
	* 联系电话
	*/
		@ApiModelProperty(value = "联系电话")
		private String contactTel;
	/**
	* 联系地址
	*/
		@ApiModelProperty(value = "联系地址")
		private String address;
	/**
	* 证件类型
	*/
		@ApiModelProperty(value = "证件类型")
		private Integer identifyType;
	/**
	* 证件号码
	*/
		@ApiModelProperty(value = "证件号码")
		private String identifyNo;
	/**
	* 备注信息
	*/
		@ApiModelProperty(value = "备注信息")
		private String remarks;


}
